package jacker.bit.price;

import android.app.Service;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.IBinder;
import android.util.Log;

public class ServiceTime extends Service {


	ReceiverTime rt = new ReceiverTime();
	
	@Override
	public void onCreate(){
		super.onCreate();

		registerReceiver(rt
		, new IntentFilter(Intent.ACTION_TIME_TICK));
		
		UtilLog.d("Timing...");

	}

	
	@Override
	public void onDestroy(){
		this.unregisterReceiver(rt);
		UtilLog.d("Timing end...");
		super.onDestroy();
	}

	@Override
	public IBinder onBind(Intent intent) {
		// TODO Auto-generated method stub
		return null;
	}
	

}
